home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Applications / mint / setup / c++.sh next >
Text File  |  1994-01-12  |  743b  |  34 lines

  1. # This script installs the g++ compiler for GCC and the necessary includes
  2. # and libraries. It should be run from /mint like this 'sh setup/c++.sh'.
  3. # The main part of GCC should have already been installed with the 'normal'
  4. # setup script.
  5. #
  6. # These files need to be in your $SAVE directory:
  7. #
  8. # (Atari Archive)
  9. # Mint/Gcc/mg++253b.zoo
  10. # Gnustuff/Tos/G++/gpinc20.zoo
  11. # Gnustuff/Tos/G++/gplibo20.zoo
  12.  
  13. # check for everything
  14. for i in mg++253b.zoo gpinc20.zoo gplibo20.zoo; do
  15.     if [ ! -r $SAVE/$i ] ; then
  16.         echo "can't find $SAVE/$i"
  17.         exit 1
  18.     fi
  19. done
  20.  
  21. cd usr
  22.  
  23. if [ ! -d g++-include ] ; then
  24.     mkdir g++-include
  25. fi
  26. cd g++-include
  27. zoo xq $SAVE/gpinc20.zoo
  28.  
  29. cd ../lib
  30. zoo xq $SAVE/gplibo20.zoo
  31.  
  32. cd ../bin
  33. zoo xq $SAVE/mg++253b.zoo gcc-cc1plus.ttp
  34.